package com.xoa.service.equipment;


import com.xoa.model.equipment.LimsEquipExperience;
import com.xoa.util.LimsJson;

import javax.servlet.http.HttpServletRequest;



public interface EquipExperienceService {

    //分页查询所有经验库
    LimsJson<LimsEquipExperience> selectAllEquipmentExperience(HttpServletRequest request, Integer page, Integer limit);



    //单独查询经验库某个设备经验详情
    LimsJson<LimsEquipExperience> selectEquipmentByExperId(HttpServletRequest request, int experId, String dataType);

    // 根据下拉选择字段模糊查询经验库
    LimsJson<LimsEquipExperience> selectExperienceByName(HttpServletRequest request, String fieldName, String fieldValue, Integer page, Integer limit);

    //根据搜索条件筛选查询
    LimsJson<LimsEquipExperience> selectExperienceByCondition(HttpServletRequest request, LimsEquipExperience limsEquipExperience, Integer page, Integer limit);

    //添加经验库
    LimsJson addExperience(HttpServletRequest request, LimsEquipExperience equipExperience);


    //删除经验库下某个设备经验
    LimsJson delExperienceByExperId(HttpServletRequest request, String experIds);


    //修改经验库
    LimsJson editExperience(HttpServletRequest request, LimsEquipExperience limsEquipExperience);

    LimsJson getExperienceByEquipType(HttpServletRequest request, Integer equipType, Integer limit, Integer page);

}
